package com.loukou.lkt.lkt.resp;

import java.io.Serializable;
import java.util.List;

import com.loukou.lkt.company.entity.Company;

public class AuthInfo implements Serializable {

	private static final long serialVersionUID = 4331442404338054376L;
	
	private String sessionId; 
	
	private int id;

	private String username;

	private String realName;

	private List<String> roles;
	
	private List<String> privileges;
	
	private int companyId;
	
	private Company company;
	
	private int companyDatabaseId;
	
	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public List<String> getRoles() {
		return roles;
	}

	public void setRoles(List<String> roles) {
		this.roles = roles;
	}

	public List<String> getPrivileges() {
		return privileges;
	}

	public void setPrivileges(List<String> privileges) {
		this.privileges = privileges;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public int getCompanyId() {
		return companyId;
	}

	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}

	public int getCompanyDatabaseId() {
		return companyDatabaseId;
	}

	public void setCompanyDatabaseId(int companyDatabaseId) {
		this.companyDatabaseId = companyDatabaseId;
	}
	
	
}
